Skip to content

refactor(grids): fix styling for pinned column border - #17583

Open
desig9stein wants to merge 8 commits into
masterfrom
mpopov/fix-pinned-border-styles
Open

refactor(grids): fix styling for pinned column border#17583
desig9stein wants to merge 8 commits into
masterfrom
mpopov/fix-pinned-border-styles

Conversation

@desig9stein

@desig9stein desig9stein commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Closes #17353
Related PR from theming: IgniteUI/igniteui-theming#605

Description

Motivation / Context

Type of Change (check all that apply):

  • Bug fix
  • New functionality
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes)
  • Documentation
  • Demos
  • CI/CD
  • Tests
  • Changelog
  • Skills/Agents

Component(s) / Area(s) Affected:

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Automated e2e tests

Test Configuration:

  • Angular version:
  • Browser(s):
  • OS:

Screenshots / Recordings

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them
  • Accessibility (ARIA, keyboard navigation, focus management) has been verified

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new gridRowPinning redirect route is missing pathMatch: 'full', which can cause unintended prefix-matching redirects and is inconsistent with the existing redirect pattern in the same file.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR addresses inconsistent pinned-column border styling in the grid header by aligning header pinned borders with the grid theme’s pinned border tokens, and follows up with a breaking theming change that removes independent summary border width theming (with an accompanying ng update migration).

Changes:

  • Fix pinned header border rendering so pinned borders consistently use the configured pinned border width/style/color.
  • Remove grid-summary-theme border-width theming (and related CSS custom properties) so summary borders inherit width from the grid; add migration + tests.
  • Consolidate demo samples by folding row pinning into the column pinning sample and updating routes/navigation accordingly.
File summaries
File Description
src/app/properties-panel/properties-panel.component.html Uses singleRequired selection mode for button-group controls.
src/app/grid-theme-builder/grid-theme-builder.sample.ts Removes summary border width signals and makes border export resilient to missing width signals.
src/app/grid-theme-builder/grid-theme-builder.sample.html Removes deprecated summary border width CSS custom property bindings.
src/app/grid-theme-builder/border-rule-editor.types.ts Makes border width optional for targets that are no longer independently themable.
src/app/grid-theme-builder/border-rule-editor.component.ts Updates border editing logic to tolerate missing width signals.
src/app/grid-theme-builder/border-rule-editor.component.html Conditionally hides the border-width editor when width isn’t supported.
src/app/grid-row-pinning/grid-row-pinning.sample.ts Removed sample (row pinning moved into column pinning sample).
src/app/grid-row-pinning/grid-row-pinning.sample.scss Removed sample styles.
src/app/grid-row-pinning/grid-row-pinning.sample.html Removed sample template.
src/app/grid-column-pinning/grid-column-pinning.sample.ts Reworks sample to cover both column + row pinning across grid types with properties panel integration.
src/app/grid-column-pinning/grid-column-pinning.sample.scss Updates sample layout/styles for the new combined pinning demo.
src/app/grid-column-pinning/grid-column-pinning.sample.html New combined pinning demo UI (tabs + pinning actions + status).
src/app/app.routes.ts Redirects gridRowPinning to the combined pinning sample route.
src/app/app.component.ts Updates navigation label and removes separate row pinning nav entry.
projects/igniteui-angular/migrations/update-22_2_0_grid-summary-borders/index.ts Adds migration to rename removed summary border-width CSS custom properties to grid equivalents.
projects/igniteui-angular/migrations/update-22_2_0_grid-summary-borders/index.spec.ts Adds unit tests validating the migration behavior.
projects/igniteui-angular/migrations/update-22_2_0_grid-summary-borders/changes/theme-changes.json Declares removal of $border-width and $pinned-border-width from grid-summary-theme.
projects/igniteui-angular/migrations/migration-collection.json Registers the new 22.2.0 migration.
projects/igniteui-angular/grids/themes/_base.scss Ensures pinned header borders use pinned border tokens consistently (including group titles).
projects/igniteui-angular/grids/core/src/summaries/themes/_base.scss Makes summary border widths inherit from grid-provided internal CSS vars.
CHANGELOG.md Documents the breaking change around summary border width theming and the available migration.
Review details
  • Files reviewed: 21/21 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/app/app.routes.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Grid column pinning theme does not apply the pinned border color to the header

3 participants